package com.bipbip.repositorio;

import java.util.List;

import com.bipbip.modelo.Usuario;
import com.bipbip.modelo.Vehiculo;

public interface VehiculoDAO {

	public Vehiculo insert(Vehiculo v);

	public Vehiculo update(Vehiculo v);

	public void delete(Vehiculo v);

	public void delete(Integer id);

	public Vehiculo select(int id);

	public List<Vehiculo> selectBy(String attr, String value);

	public List<Vehiculo> selectBy(String attr, Integer value);

	public List<Vehiculo> selectAll();

	public List<Vehiculo> selectByUser(Usuario user);
}
